package com.hyacinth.lotterysystem.service;

import com.hyacinth.lotterysystem.dao.entity.WinningRecordDO;
import com.hyacinth.lotterysystem.dto.req.DrawPrizeReq;
import com.hyacinth.lotterysystem.dto.req.WinningRecordReq;
import com.hyacinth.lotterysystem.dto.resp.WinningRecordResp;

import java.util.List;

public interface DrawPrizeService {

    void drawPrize(DrawPrizeReq req);

    Boolean checkDrawPrizeParam(DrawPrizeReq req);

    List<WinningRecordDO> saveWinnerRecords(DrawPrizeReq req);

    void deleteRecords(Long activityId, Long prizeId);

    List<WinningRecordResp> getWinningRecords(WinningRecordReq param);
}
